package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_ProductActive", catalog="Id")
public class TpProductActive extends BaseEntity<TpProductActive> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Img", nameJava="img", typeDataBase="varchar")
	private String img;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="CodeHs", nameJava="codeHs", typeDataBase="varchar")
	private String codeHs;
	@YsField(nameDataBase="SizeLength", nameJava="sizeLength", typeDataBase="decimal")
	private BigDecimal sizeLength;
	@YsField(nameDataBase="SizeWidth", nameJava="sizeWidth", typeDataBase="decimal")
	private BigDecimal sizeWidth;
	@YsField(nameDataBase="SizeHeight", nameJava="sizeHeight", typeDataBase="decimal")
	private BigDecimal sizeHeight;
	@YsField(nameDataBase="SizeWeight", nameJava="sizeWeight", typeDataBase="decimal")
	private BigDecimal sizeWeight;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="Combination", nameJava="combination", typeDataBase="varchar")
	private String combination;
	@YsField(nameDataBase="LinkIn", nameJava="linkIn", typeDataBase="varchar")
	private String linkIn;
	@YsField(nameDataBase="VgsBm", nameJava="vgsBm", typeDataBase="varchar")
	private String vgsBm;
	@YsField(nameDataBase="Vtitle", nameJava="vtitle", typeDataBase="varchar")
	private String vtitle;
	@YsField(nameDataBase="VspMd1", nameJava="vspMd1", typeDataBase="varchar")
	private String vspMd1;
	@YsField(nameDataBase="VspMd2", nameJava="vspMd2", typeDataBase="varchar")
	private String vspMd2;
	@YsField(nameDataBase="VspMd3", nameJava="vspMd3", typeDataBase="varchar")
	private String vspMd3;
	@YsField(nameDataBase="VspMd4", nameJava="vspMd4", typeDataBase="varchar")
	private String vspMd4;
	@YsField(nameDataBase="VspMd5", nameJava="vspMd5", typeDataBase="varchar")
	private String vspMd5;
	@YsField(nameDataBase="VspGjz", nameJava="vspGjz", typeDataBase="varchar")
	private String vspGjz;
	@YsField(nameDataBase="VspZt", nameJava="vspZt", typeDataBase="varchar")
	private String vspZt;
	@YsField(nameDataBase="VspCct", nameJava="vspCct", typeDataBase="varchar")
	private String vspCct;
	@YsField(nameDataBase="VspXjt1", nameJava="vspXjt1", typeDataBase="varchar")
	private String vspXjt1;
	@YsField(nameDataBase="VspXjt2", nameJava="vspXjt2", typeDataBase="varchar")
	private String vspXjt2;
	@YsField(nameDataBase="VspXjt3", nameJava="vspXjt3", typeDataBase="varchar")
	private String vspXjt3;
	@YsField(nameDataBase="VspCjt1", nameJava="vspCjt1", typeDataBase="varchar")
	private String vspCjt1;
	@YsField(nameDataBase="VspCjt2", nameJava="vspCjt2", typeDataBase="varchar")
	private String vspCjt2;
	@YsField(nameDataBase="VspCjt3", nameJava="vspCjt3", typeDataBase="varchar")
	private String vspCjt3;
	@YsField(nameDataBase="LinkJp", nameJava="linkJp", typeDataBase="varchar")
	private String linkJp;
	@YsField(nameDataBase="LinkJpus", nameJava="linkJpus", typeDataBase="varchar")
	private String linkJpus;
	@YsField(nameDataBase="CodeMerge", nameJava="codeMerge", typeDataBase="varchar")
	private String codeMerge;
	@YsField(nameDataBase="VsfJp", nameJava="vsfJp", typeDataBase="varchar")
	private String vsfJp;
	@YsField(nameDataBase="IsSuperior", nameJava="isSuperior", typeDataBase="varchar")
	private String isSuperior;
	@YsField(nameDataBase="Img1", nameJava="img1", typeDataBase="varchar")
	private String img1;
	@YsField(nameDataBase="Img2", nameJava="img2", typeDataBase="varchar")
	private String img2;
	@YsField(nameDataBase="SpMcGg", nameJava="spMcGg", typeDataBase="varchar")
	private String spMcGg;
	@YsField(nameDataBase="DeclarationElements", nameJava="declarationElements", typeDataBase="varchar")
	private String declarationElements;
	@YsField(nameDataBase="VspZt1", nameJava="vspZt1", typeDataBase="varchar")
	private String vspZt1;
	@YsField(nameDataBase="IsUsable", nameJava="isUsable", typeDataBase="varchar")
	private String isUsable;
	@YsField(nameDataBase="CommodityLmId", nameJava="commodityLmId", typeDataBase="bigint")
	private Long commodityLmId;
	@YsField(nameDataBase="CommodityProperty", nameJava="commodityProperty", typeDataBase="varchar")
	private String commodityProperty;
	@YsField(nameDataBase="CommodityRemark", nameJava="commodityRemark", typeDataBase="varchar")
	private String commodityRemark;
	@YsField(nameDataBase="CommodityPlId", nameJava="commodityPlId", typeDataBase="bigint")
	private Long commodityPlId;
	@YsField(nameDataBase="NameUnitId", nameJava="nameUnitId", typeDataBase="bigint")
	private Long nameUnitId;
	@YsField(nameDataBase="NameId", nameJava="nameId", typeDataBase="bigint")
	private Long nameId;
	@YsField(nameDataBase="UsageId", nameJava="usageId", typeDataBase="bigint")
	private Long usageId;
	@YsField(nameDataBase="MaterialId", nameJava="materialId", typeDataBase="bigint")
	private Long materialId;
	@YsField(nameDataBase="SUser", nameJava="sUser", typeDataBase="varchar")
	private String sUser;
	@YsField(nameDataBase="DeclarationState", nameJava="declarationState", typeDataBase="tinyint")
	private Integer declarationState;
	@YsField(nameDataBase="AgeRange", nameJava="ageRange", typeDataBase="varchar")
	private String ageRange;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpProductActive setId(Long id) {
		this.id = id;
		return this;
	}
	public String getImg() {
		return img;
	}
	public TpProductActive setImg(String img) {
		this.img = img;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TpProductActive setCode(String code) {
		this.code = code;
		return this;
	}
	public String getCodeHs() {
		return codeHs;
	}
	public TpProductActive setCodeHs(String codeHs) {
		this.codeHs = codeHs;
		return this;
	}
	public BigDecimal getSizeLength() {
		return sizeLength;
	}
	public TpProductActive setSizeLength(BigDecimal sizeLength) {
		this.sizeLength = sizeLength;
		return this;
	}
	public BigDecimal getSizeWidth() {
		return sizeWidth;
	}
	public TpProductActive setSizeWidth(BigDecimal sizeWidth) {
		this.sizeWidth = sizeWidth;
		return this;
	}
	public BigDecimal getSizeHeight() {
		return sizeHeight;
	}
	public TpProductActive setSizeHeight(BigDecimal sizeHeight) {
		this.sizeHeight = sizeHeight;
		return this;
	}
	public BigDecimal getSizeWeight() {
		return sizeWeight;
	}
	public TpProductActive setSizeWeight(BigDecimal sizeWeight) {
		this.sizeWeight = sizeWeight;
		return this;
	}
	public String getName() {
		return name;
	}
	public TpProductActive setName(String name) {
		this.name = name;
		return this;
	}
	public String getCombination() {
		return combination;
	}
	public TpProductActive setCombination(String combination) {
		this.combination = combination;
		return this;
	}
	public String getLinkIn() {
		return linkIn;
	}
	public TpProductActive setLinkIn(String linkIn) {
		this.linkIn = linkIn;
		return this;
	}
	public String getVgsBm() {
		return vgsBm;
	}
	public TpProductActive setVgsBm(String vgsBm) {
		this.vgsBm = vgsBm;
		return this;
	}
	public String getVtitle() {
		return vtitle;
	}
	public TpProductActive setVtitle(String vtitle) {
		this.vtitle = vtitle;
		return this;
	}
	public String getVspMd1() {
		return vspMd1;
	}
	public TpProductActive setVspMd1(String vspMd1) {
		this.vspMd1 = vspMd1;
		return this;
	}
	public String getVspMd2() {
		return vspMd2;
	}
	public TpProductActive setVspMd2(String vspMd2) {
		this.vspMd2 = vspMd2;
		return this;
	}
	public String getVspMd3() {
		return vspMd3;
	}
	public TpProductActive setVspMd3(String vspMd3) {
		this.vspMd3 = vspMd3;
		return this;
	}
	public String getVspMd4() {
		return vspMd4;
	}
	public TpProductActive setVspMd4(String vspMd4) {
		this.vspMd4 = vspMd4;
		return this;
	}
	public String getVspMd5() {
		return vspMd5;
	}
	public TpProductActive setVspMd5(String vspMd5) {
		this.vspMd5 = vspMd5;
		return this;
	}
	public String getVspGjz() {
		return vspGjz;
	}
	public TpProductActive setVspGjz(String vspGjz) {
		this.vspGjz = vspGjz;
		return this;
	}
	public String getVspZt() {
		return vspZt;
	}
	public TpProductActive setVspZt(String vspZt) {
		this.vspZt = vspZt;
		return this;
	}
	public String getVspCct() {
		return vspCct;
	}
	public TpProductActive setVspCct(String vspCct) {
		this.vspCct = vspCct;
		return this;
	}
	public String getVspXjt1() {
		return vspXjt1;
	}
	public TpProductActive setVspXjt1(String vspXjt1) {
		this.vspXjt1 = vspXjt1;
		return this;
	}
	public String getVspXjt2() {
		return vspXjt2;
	}
	public TpProductActive setVspXjt2(String vspXjt2) {
		this.vspXjt2 = vspXjt2;
		return this;
	}
	public String getVspXjt3() {
		return vspXjt3;
	}
	public TpProductActive setVspXjt3(String vspXjt3) {
		this.vspXjt3 = vspXjt3;
		return this;
	}
	public String getVspCjt1() {
		return vspCjt1;
	}
	public TpProductActive setVspCjt1(String vspCjt1) {
		this.vspCjt1 = vspCjt1;
		return this;
	}
	public String getVspCjt2() {
		return vspCjt2;
	}
	public TpProductActive setVspCjt2(String vspCjt2) {
		this.vspCjt2 = vspCjt2;
		return this;
	}
	public String getVspCjt3() {
		return vspCjt3;
	}
	public TpProductActive setVspCjt3(String vspCjt3) {
		this.vspCjt3 = vspCjt3;
		return this;
	}
	public String getLinkJp() {
		return linkJp;
	}
	public TpProductActive setLinkJp(String linkJp) {
		this.linkJp = linkJp;
		return this;
	}
	public String getLinkJpus() {
		return linkJpus;
	}
	public TpProductActive setLinkJpus(String linkJpus) {
		this.linkJpus = linkJpus;
		return this;
	}
	public String getCodeMerge() {
		return codeMerge;
	}
	public TpProductActive setCodeMerge(String codeMerge) {
		this.codeMerge = codeMerge;
		return this;
	}
	public String getVsfJp() {
		return vsfJp;
	}
	public TpProductActive setVsfJp(String vsfJp) {
		this.vsfJp = vsfJp;
		return this;
	}
	public String getIsSuperior() {
		return isSuperior;
	}
	public TpProductActive setIsSuperior(String isSuperior) {
		this.isSuperior = isSuperior;
		return this;
	}
	public String getImg1() {
		return img1;
	}
	public TpProductActive setImg1(String img1) {
		this.img1 = img1;
		return this;
	}
	public String getImg2() {
		return img2;
	}
	public TpProductActive setImg2(String img2) {
		this.img2 = img2;
		return this;
	}
	public String getSpMcGg() {
		return spMcGg;
	}
	public TpProductActive setSpMcGg(String spMcGg) {
		this.spMcGg = spMcGg;
		return this;
	}
	public String getDeclarationElements() {
		return declarationElements;
	}
	public TpProductActive setDeclarationElements(String declarationElements) {
		this.declarationElements = declarationElements;
		return this;
	}
	public String getVspZt1() {
		return vspZt1;
	}
	public TpProductActive setVspZt1(String vspZt1) {
		this.vspZt1 = vspZt1;
		return this;
	}
	public String getIsUsable() {
		return isUsable;
	}
	public TpProductActive setIsUsable(String isUsable) {
		this.isUsable = isUsable;
		return this;
	}
	public Long getCommodityLmId() {
		return commodityLmId;
	}
	public TpProductActive setCommodityLmId(Long commodityLmId) {
		this.commodityLmId = commodityLmId;
		return this;
	}
	public String getCommodityProperty() {
		return commodityProperty;
	}
	public TpProductActive setCommodityProperty(String commodityProperty) {
		this.commodityProperty = commodityProperty;
		return this;
	}
	public String getCommodityRemark() {
		return commodityRemark;
	}
	public TpProductActive setCommodityRemark(String commodityRemark) {
		this.commodityRemark = commodityRemark;
		return this;
	}
	public Long getCommodityPlId() {
		return commodityPlId;
	}
	public TpProductActive setCommodityPlId(Long commodityPlId) {
		this.commodityPlId = commodityPlId;
		return this;
	}
	public Long getNameUnitId() {
		return nameUnitId;
	}
	public TpProductActive setNameUnitId(Long nameUnitId) {
		this.nameUnitId = nameUnitId;
		return this;
	}
	public Long getNameId() {
		return nameId;
	}
	public TpProductActive setNameId(Long nameId) {
		this.nameId = nameId;
		return this;
	}
	public Long getUsageId() {
		return usageId;
	}
	public TpProductActive setUsageId(Long usageId) {
		this.usageId = usageId;
		return this;
	}
	public Long getMaterialId() {
		return materialId;
	}
	public TpProductActive setMaterialId(Long materialId) {
		this.materialId = materialId;
		return this;
	}
	public String getSUser() {
		return sUser;
	}
	public TpProductActive setSUser(String sUser) {
		this.sUser = sUser;
		return this;
	}
	public Integer getDeclarationState() {
		return declarationState;
	}
	public TpProductActive setDeclarationState(Integer declarationState) {
		this.declarationState = declarationState;
		return this;
	}
	public String getAgeRange() {
		return ageRange;
	}
	public TpProductActive setAgeRange(String ageRange) {
		this.ageRange = ageRange;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpProductActive setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpProductActive setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpProductActive setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpProductActive tpProductActive(
		String img,
		String code,
		String codeHs,
		BigDecimal sizeLength,
		BigDecimal sizeWidth,
		BigDecimal sizeHeight,
		BigDecimal sizeWeight,
		String name,
		String combination,
		String linkIn,
		String vgsBm,
		String vtitle,
		String vspMd1,
		String vspMd2,
		String vspMd3,
		String vspMd4,
		String vspMd5,
		String vspGjz,
		String vspZt,
		String vspCct,
		String vspXjt1,
		String vspXjt2,
		String vspXjt3,
		String vspCjt1,
		String vspCjt2,
		String vspCjt3,
		String linkJp,
		String linkJpus,
		String codeMerge,
		String vsfJp,
		String isSuperior,
		String img1,
		String img2,
		String spMcGg,
		String declarationElements,
		String vspZt1,
		String isUsable,
		Long commodityLmId,
		String commodityProperty,
		String commodityRemark,
		Long commodityPlId,
		Long nameUnitId,
		Long nameId,
		Long usageId,
		Long materialId,
		String sUser,
		Integer declarationState,
		String ageRange,
		Integer status
			) {
		TpProductActive entity = new TpProductActive();
		entity.setImg(img);
		entity.setCode(code);
		entity.setCodeHs(codeHs);
		entity.setSizeLength(sizeLength);
		entity.setSizeWidth(sizeWidth);
		entity.setSizeHeight(sizeHeight);
		entity.setSizeWeight(sizeWeight);
		entity.setName(name);
		entity.setCombination(combination);
		entity.setLinkIn(linkIn);
		entity.setVgsBm(vgsBm);
		entity.setVtitle(vtitle);
		entity.setVspMd1(vspMd1);
		entity.setVspMd2(vspMd2);
		entity.setVspMd3(vspMd3);
		entity.setVspMd4(vspMd4);
		entity.setVspMd5(vspMd5);
		entity.setVspGjz(vspGjz);
		entity.setVspZt(vspZt);
		entity.setVspCct(vspCct);
		entity.setVspXjt1(vspXjt1);
		entity.setVspXjt2(vspXjt2);
		entity.setVspXjt3(vspXjt3);
		entity.setVspCjt1(vspCjt1);
		entity.setVspCjt2(vspCjt2);
		entity.setVspCjt3(vspCjt3);
		entity.setLinkJp(linkJp);
		entity.setLinkJpus(linkJpus);
		entity.setCodeMerge(codeMerge);
		entity.setVsfJp(vsfJp);
		entity.setIsSuperior(isSuperior);
		entity.setImg1(img1);
		entity.setImg2(img2);
		entity.setSpMcGg(spMcGg);
		entity.setDeclarationElements(declarationElements);
		entity.setVspZt1(vspZt1);
		entity.setIsUsable(isUsable);
		entity.setCommodityLmId(commodityLmId);
		entity.setCommodityProperty(commodityProperty);
		entity.setCommodityRemark(commodityRemark);
		entity.setCommodityPlId(commodityPlId);
		entity.setNameUnitId(nameUnitId);
		entity.setNameId(nameId);
		entity.setUsageId(usageId);
		entity.setMaterialId(materialId);
		entity.setSUser(sUser);
		entity.setDeclarationState(declarationState);
		entity.setAgeRange(ageRange);
		entity.setStatus(status);
		return entity;
	}
}